package com.goods.service.impl;

import com.goods.entity.GoodsSort;
import com.goods.mapper.GoodsSortMapper;
import com.goods.service.GoodsSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/6 20:44
 */
@Service
public class GoodsSoutServiceImpl implements GoodsSortService {

    @Autowired
    private GoodsSortMapper goodsSortMapper;
    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
